package net.csdn.business.discuss.api.model.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import net.csdn.business.discuss.common.constant.CommonConstants;
import net.csdn.business.discuss.common.dto.SuperVO;

import java.io.Serializable;
import java.util.Date;


/**
 * 讨论配置对象VO discuss_config
 * 
 * @author zhangyl
 * @date 2023-07-21
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class DiscussConfigVO implements Serializable
{

    protected String id;

    /** 组织ID/仓库ID*/
    private String sourceId;
    /** 1:组织；2:仓库 */
    private Integer sourceType;
    /** 是否开启：1：开启；0：关闭 */
    private Boolean isOpen;

    @JsonFormat(pattern = CommonConstants.DEFAULT_PATTERN, timezone = CommonConstants.DEFAULT_TIMEZONE)
    protected Date createdDate;

    @JsonFormat(pattern = CommonConstants.DEFAULT_PATTERN, timezone = CommonConstants.DEFAULT_TIMEZONE)
    protected Date lastModifiedDate;

    protected String createdBy;

    protected String lastModifiedBy;

}
